package com.study.prop.beans;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import lombok.Data;

@Data
@Component
public class ApplicationProperty {

	@Value("${application.name}")
	private String name;
	@Value("${application.version}")
	private String version;
}
